package com.crm.easyui;

public class TreeGrid {
	private String id;//id
	private String text;//名称
	private String isLeaf;//是否叶子 true-叶子 false-非叶子
	private String level;//级别
	private String status;//状态
	private String _parentId;//父id
	
	//辅助属性
	private String reason;
	private String userId;
	
	public TreeGrid(){};
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(String isLeaf) {
		this.isLeaf = isLeaf;
	}
	
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String get_parentId() {
		return _parentId;
	}
	public void set_parentId(String _parentId) {
		this._parentId = _parentId;
	}
	public String getStatus() {
		return status;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getReason() {
		return reason;
	}
	
	public void setReason(String reason) {
		this.reason = reason;
	}

	public String toString() {
		return "TreeGrid [id=" + id + ", text=" + text + ", isLeaf=" + isLeaf
				+ ", level=" + level + ", _parentId=" + _parentId + "]";
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}


	
}
